package org.msz;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.domain.EntityScan;
import org.springframework.data.jpa.repository.config.EnableJpaRepositories;
import org.springframework.transaction.annotation.EnableTransactionManagement;

@SpringBootApplication(scanBasePackages = "org.msz")
@EntityScan(basePackages = {"org.msz.entity"})
@EnableJpaRepositories(basePackages = "org.msz")
@EnableTransactionManagement
public class ResteasyApplication {
    public static void main(String[] args) {
        SpringApplication.run(ResteasyApplication.class, args);
    }
}